package hcn.protocol.brandnew.zhenliao.jianyan;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;


/**
 * @author z
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class LabReportItemTrendQueryResponse {
    @XmlElementWrapper(name = "TestResults")
    @XmlElement(name = "TestResult")
    private List<TestResult> testResults;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class TestResult {
        /**
         * 检验标本号
         */
        @XmlElement(name = "SampleNo")
        private String sampleNo;

        /**
         * 标本类别名称
         */
        @XmlElement(name = "SampleTypeName")
        private String sampleTypeName;

        /**
         * 检验报告日期
         */
        @XmlElement(name = "ReportTime")
        private String reportTime;

        /**
         * 检验项目代码
         */
        @XmlElement(name = "TestId")
        private String testId;

        /**
         * 检验项目名称
         */
        @XmlElement(name = "TestName")
        private String testName;

        /**
         * 检验报告项目简称（英文简称）
         */
        @XmlElement(name = "TestEnglishAb")
        private String testEnglishAb;

        /**
         * 检验定量结果
         */
        @XmlElement(name = "TestResult")
        private String testResult;

        /**
         * 检验定性结果
         */
        @XmlElement(name = "ResultQualitative")
        private String resultQualitative;

        /**
         * 检验定量结果计量单位
         */
        @XmlElement(name = "ResultUnit")
        private String resultUnit;

        /**
         * 参考值下限
         */
        @XmlElement(name = "ReferenceLow")
        private String referenceLow;

        /**
         * 参考值上限
         */
        @XmlElement(name = "ReferenceHigh")
        private String referenceHigh;

        /**
         * 检验结果提示
         */
        @XmlElement(name = "ResultHint")
        private String resultHint;

        /**
         * 仪器编号
         */
        @XmlElement(name = "InstrumentCode")
        private String instrumentCode;

        /**
         * 仪器名称
         */
        @XmlElement(name = "InstrumentName")
        private String instrumentName;
    }
}